#ifndef _FREE_TILE_H_
#define _FREE_TILE_H_

#ifdef _WIN32
#pragma once
#endif

#include "entity.h"
#include "solidtile.h"
#include "repeat.h"
#include "mapcontainer.h"
#include "map.h"

namespace freetile
{
    void explode(DELAY_PARAMS&);
}

class CFreeTile : public CSolidTile
{
public:
    CFreeTile(short int nHeight, short int nWidth, short int nDepth);
    virtual void destroy();
    
    void stopRepeat();

    virtual void tick();

private:
    CRepeat<void> myRepeat;
};

#endif